﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000055 RID: 85
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AetherDivideLineupInfo : IMessage<AetherDivideLineupInfo>, IMessage, IEquatable<AetherDivideLineupInfo>, IDeepCloneable<AetherDivideLineupInfo>, IBufferMessage
	{
		// Token: 0x17000114 RID: 276
		// (get) Token: 0x060003C9 RID: 969 RVA: 0x0000C290 File Offset: 0x0000A490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AetherDivideLineupInfo> Parser
		{
			get
			{
				return AetherDivideLineupInfo._parser;
			}
		}

		// Token: 0x17000115 RID: 277
		// (get) Token: 0x060003CA RID: 970 RVA: 0x0000C297 File Offset: 0x0000A497
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AetherDivideLineupInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000116 RID: 278
		// (get) Token: 0x060003CB RID: 971 RVA: 0x0000C2A9 File Offset: 0x0000A4A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AetherDivideLineupInfo.Descriptor;
			}
		}

		// Token: 0x060003CC RID: 972 RVA: 0x0000C2B0 File Offset: 0x0000A4B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideLineupInfo()
		{
		}

		// Token: 0x060003CD RID: 973 RVA: 0x0000C2C3 File Offset: 0x0000A4C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideLineupInfo(AetherDivideLineupInfo other) : this()
		{
			this.slot_ = other.slot_;
			this.avatarList_ = other.avatarList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060003CE RID: 974 RVA: 0x0000C2F9 File Offset: 0x0000A4F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideLineupInfo Clone()
		{
			return new AetherDivideLineupInfo(this);
		}

		// Token: 0x17000117 RID: 279
		// (get) Token: 0x060003CF RID: 975 RVA: 0x0000C301 File Offset: 0x0000A501
		// (set) Token: 0x060003D0 RID: 976 RVA: 0x0000C309 File Offset: 0x0000A509
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Slot
		{
			get
			{
				return this.slot_;
			}
			set
			{
				this.slot_ = value;
			}
		}

		// Token: 0x17000118 RID: 280
		// (get) Token: 0x060003D1 RID: 977 RVA: 0x0000C312 File Offset: 0x0000A512
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x060003D2 RID: 978 RVA: 0x0000C31A File Offset: 0x0000A51A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AetherDivideLineupInfo);
		}

		// Token: 0x060003D3 RID: 979 RVA: 0x0000C328 File Offset: 0x0000A528
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AetherDivideLineupInfo other)
		{
			return other != null && (other == this || (this.Slot == other.Slot && this.avatarList_.Equals(other.avatarList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060003D4 RID: 980 RVA: 0x0000C378 File Offset: 0x0000A578
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Slot != 0U)
			{
				num ^= this.Slot.GetHashCode();
			}
			num ^= this.avatarList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060003D5 RID: 981 RVA: 0x0000C3C5 File Offset: 0x0000A5C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060003D6 RID: 982 RVA: 0x0000C3CD File Offset: 0x0000A5CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060003D7 RID: 983 RVA: 0x0000C3D8 File Offset: 0x0000A5D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Slot != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Slot);
			}
			this.avatarList_.WriteTo(ref output, AetherDivideLineupInfo._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060003D8 RID: 984 RVA: 0x0000C428 File Offset: 0x0000A628
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Slot != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Slot);
			}
			num += this.avatarList_.CalculateSize(AetherDivideLineupInfo._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060003D9 RID: 985 RVA: 0x0000C47C File Offset: 0x0000A67C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AetherDivideLineupInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Slot != 0U)
			{
				this.Slot = other.Slot;
			}
			this.avatarList_.Add(other.avatarList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060003DA RID: 986 RVA: 0x0000C4C9 File Offset: 0x0000A6C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060003DB RID: 987 RVA: 0x0000C4D4 File Offset: 0x0000A6D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 120U && num != 122U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.avatarList_.AddEntriesFrom(ref input, AetherDivideLineupInfo._repeated_avatarList_codec);
					}
				}
				else
				{
					this.Slot = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000160 RID: 352
		private static readonly MessageParser<AetherDivideLineupInfo> _parser = new MessageParser<AetherDivideLineupInfo>(() => new AetherDivideLineupInfo());

		// Token: 0x04000161 RID: 353
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000162 RID: 354
		public const int SlotFieldNumber = 10;

		// Token: 0x04000163 RID: 355
		private uint slot_;

		// Token: 0x04000164 RID: 356
		public const int AvatarListFieldNumber = 15;

		// Token: 0x04000165 RID: 357
		private static readonly FieldCodec<uint> _repeated_avatarList_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x04000166 RID: 358
		private readonly RepeatedField<uint> avatarList_ = new RepeatedField<uint>();
	}
}
